package frontend.parser.node.stmt;

import frontend.parser.node.Node;
import frontend.parser.node.expnode.Exp;
import frontend.parser.node.expnode.LVal;

public class ForStmt extends Node {
    private LVal lVal;
    private Exp exp;
    public void addLVal(LVal lVal) {
        super.add(lVal);
        this.lVal = lVal;
    }
    public void addExp(Exp exp) {
        super.add(exp);
        this.exp = exp;
    }

    public LVal getlVal() {
        return lVal;
    }

    public Exp getExp() {
        return exp;
    }
}
